package com.ktjiaoyu.crm.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;
import org.springframework.lang.NonNull;

import java.io.Serializable;

/**
 * @ClassName : User
 * @Description :
 * @Author : Lzz
 * @Date: 2023/11/15 09:08:12
 */
@Data
@RequiredArgsConstructor
@NoArgsConstructor
@TableName("sys_user")
public class User implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long usrId;

    @NonNull
    private String usrName;

    @NonNull
    private String usrPassword;

    @NonNull
    private Long usrRoleId;

    @NonNull
    private Integer usrFlag;


}
